import { NgModule }      from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';//添加表单的模板驱动模块
import { AppComponent }   from './app.component';
import { SiteFormComponent } from  './site-form.component';

@NgModule({
  imports:      [
      BrowserModule,
      FormsModule
  ],
  declarations: [
      AppComponent,
      SiteFormComponent
  ],
  bootstrap:    [ AppComponent ]
})
export class AppModule { }